{include file=member.header.html}
<div id="page-my-qa" class="mb10">
	<article class="padding10 page-body">
    	<!-- {foreach from=$my_qa_data item=my_qa_list name=qa} -->
		<ul>
        	<li><a href="{url app=goods&&id=$my_qa_list.item_id}">{$my_qa_list.item_name}<em>[{$lang.$my_qa_list.type}]</em></a></li>
        	<li class="webkit-box mt10 clearfix">
            	<span>
                	<img width="50" height="50" src="{$my_qa_list.portrait}" />
                    <!--{if $my_qa_list.user_name neq ''}-->{$my_qa_list.user_name|escape}<!--{else}-->{$lang.guest}<!--{/if}-->
                </span>
            	<div class="qa-box">
                	<dl>
                        <dd style="color:#E4393C;">{$lang.question_content}{$lang.colon}{$my_qa_list.question_content|escape}</dd>
                        <dd class="time mt5">{$my_qa_list.time_post|date:complete}</dd>
                        <!--{if $my_qa_list.reply_content}-->
                        <dd class="mt5" style="color:#289039;">{$lang.my_reply}{$lang.colon}{$my_qa_list.reply_content|escape}</dd>
                        <dd class="time mt5">{$my_qa_list.time_reply|date:complete}</dd>
                        <!--{/if}-->
                    </dl>
                </div>
            </li>
            <li class="btn-box mt10">
                 <a href="javascript:;" class="J_AjaxRequest delete" confirm="{$lang.drop_confirm}" action="{url app=my_qa&act=drop&id=$my_qa_list.ques_id}">{$lang.drop}</a>
                 <!--{if $my_qa_list.reply_content eq ''}--><a href="{url app=my_qa&amp;act=reply&amp;ques_id=$my_qa_list.ques_id}">{$lang.reply}</a>
                 <!--{else}-->
                 <a href="{url app=my_qa&amp;act=edit_reply&amp;ques_id=$my_qa_list.ques_id}">{$lang.edit_reply}</a>
                 <!--{/if}-->
            </li>
        </ul>
        <!--{foreachelse}-->
        <div class="no-record">
             <span>{$lang.no_records}</span>
        </div>
        <!--{/foreach}--> 
	</article>
    <!--{if $my_qa_data}-->
    {include file=page.bottom.html}
    <!--{/if}-->
</div>
{include file=footer.html}